package com.servo.service.impl;

import com.servo.mapper.SkuInfoMapper;
import com.servo.model.SkuInfoDO;
import com.servo.service.SkuInfoService;
import com.servo.utils.JsonData;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * sku_info 服务实现类
 * </p>
 *
 * @author fwj
 * @since 2022-01-07
 */
@Service
public class SkuInfoServiceImpl implements SkuInfoService {


    @Resource
    private SkuInfoMapper skuInfoMapper;

    @Override
    public JsonData save(SkuInfoDO skuInfoDO) {
        skuInfoMapper.insert(skuInfoDO);
        return JsonData.buildSuccess();
    }
}
